package com.eling.elcms.travel.model.view;

import java.text.DecimalFormat;

public class DailyBusiness {
	
	//本日应收
	private Double dayAccountsReceivable;
	//本日已收
	private Double dayAccountsReceived;
	//本月应收
	private Double monthAccountsReceivable;
	//本月已收
	private Double monthAccountsReceived;
	//本月计划
	private Double monthAccountsPlan;
	//本年应收
	private Double yearAccountsReceivable;
	//本年已收
	private Double yearAccountsReceived;

	public Double getDayAccountsReceivable() {
		return dayAccountsReceivable;
	}

	public void setDayAccountsReceivable(Double dayAccountsReceivable) {
		this.dayAccountsReceivable = dayAccountsReceivable;
	}

	public Double getDayAccountsReceived() {
		return dayAccountsReceived;
	}

	public void setDayAccountsReceived(Double dayAccountsReceived) {
		this.dayAccountsReceived = dayAccountsReceived;
	}

	public Double getMonthAccountsReceivable() {
		return monthAccountsReceivable;
	}

	public void setMonthAccountsReceivable(Double monthAccountsReceivable) {
		this.monthAccountsReceivable = monthAccountsReceivable;
	}

	public Double getMonthAccountsReceived() {
		return monthAccountsReceived;
	}

	public void setMonthAccountsReceived(Double monthAccountsReceived) {
		this.monthAccountsReceived = monthAccountsReceived;
	}

	public Double getMonthAccountsPlan() {
		return monthAccountsPlan;
	}

	public void setMonthAccountsPlan(Double monthAccountsPlan) {
		this.monthAccountsPlan = monthAccountsPlan;
	}

	public Double getYearAccountsReceivable() {
		return yearAccountsReceivable;
	}

	public void setYearAccountsReceivable(Double yearAccountsReceivable) {
		this.yearAccountsReceivable = yearAccountsReceivable;
	}

	public Double getYearAccountsReceived() {
		return yearAccountsReceived;
	}

	public void setYearAccountsReceived(Double yearAccountsReceived) {
		this.yearAccountsReceived = yearAccountsReceived;
	}
	
	public String getMonthAccountsPlanCom() {
		DecimalFormat   df=new   DecimalFormat("#.##");   
		return df.format(this.monthAccountsReceivable/this.monthAccountsPlan);
	}
	
	
}
